// main.js (Vue 3)
import {
	createApp
} from 'vue';
import App from './App.vue';

const app = createApp(App);

// 注册一个全局过滤器
app.config.globalProperties.$filters = {
	uppercase(value) {
		return value.toUpperCase();
	}
};

app.mount('#app');